package com.jf.yytgd.entity.dto.like;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Created with IntelliJ IDEA
 * Description: 点赞DTO
 * User:22954
 * Date:2025-02-05
 * Time:21:26
 */
@JsonIgnoreProperties(value = "*", allowSetters = true)
@Data
public class LikeDTO {
    @NotNull
    @Min(1)
    private Integer userId;
    private String relatedType;
    @NotNull
    @Min(1)
    private Integer relatedId;
}
